<%def name="head()">
  ${ h.stylesheet_link( '/stylesheets/default.css') }
  ${ h.stylesheet_link( '/stylesheets/default_color.css') }

  <!-- Basic YUI 3 CSS -->
  <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?3.0.0b1/build/cssreset/reset-min.css" />
</%def>\
<%def name="footer()">
</%def>\
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>${self.title()} - MonkeyTest</title>
${ self.head() }
</head>
<body class="yui-skin-sam">
<div id="ff-page-wrap" class="ff">
<ul id="nav">
<li>${h.link_to("Dashboard", url=h.url_for("dashboard"))}</li>
<li>${h.link_to("Test Suite", url=h.url_for("list_testsuite"))}</li>
<li>${h.link_to("New Test Case", url=h.url_for("new_testcase"))}</li>
<li>${h.link_to("New Test Run", url=h.url_for("new_testrun"))}</li>
</ul>

<div class="notice">
  <% messages = h.flash.pop_messages() %>
  % if messages:
  <ul class="flash-messages">
    % for message in messages:
      <li>${message}</li>
    % endfor
  </ul>
  % endif
</div>

${ next.body() }

</div>
${ self.footer() }
</body>
</html>
